--PSIM(Rename kVFRole to kVfRole)

KAGOOR-SNMP-MIB DEFINITIONS ::= BEGIN

--  
--

IMPORTS
    OBJECT-TYPE, NOTIFICATION-TYPE, MODULE-IDENTITY,
    Integer32, Opaque, enterprises
        FROM SNMPv2-SMI

    TEXTUAL-CONVENTION, DisplayString, TruthValue, RowStatus
        FROM SNMPv2-TC;

kagoor MODULE-IDENTITY
    LAST-UPDATED "0009170000Z"
    ORGANIZATION "Kagoor Networks LTD."
    CONTACT-INFO    
         "
         Primary Author: Rama Eshel

         postal:    1st Sapir st.
                    Hertzliya
                    Israel  46733
         phone:     +972 9 9565333 ext. 217
         email:     rama@kagoor.com"
    DESCRIPTION
        "This file defines the private kagoor SNMP MIB extensions."
    REVISION     "0009170000Z"
    DESCRIPTION
        "SMIv2 version converted from older MIB definitions."
    ::= { enterprises 7005 }


--
-- Objects common to any Kagoor manufactured box
--

kagoorCommonMib    OBJECT IDENTIFIER ::= { kagoor 1 }
kInventory         OBJECT IDENTIFIER ::= { kagoorCommonMib 1 }


--
-- Objects containing inventory information
--

kId OBJECT-TYPE
    SYNTAX      OCTET STRING (SIZE(0..255))
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "A unique box identifier of a kagoor box."
    ::= { kInventory 1 }

kMngIpAddr OBJECT-TYPE
    SYNTAX      IpAddress
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Th IP Address of the management entity within the box"
    ::= { kInventory 2 }

kType OBJECT-TYPE
    SYNTAX      INTEGER { other(1),          -- none of the following
                      interConn(2),
                      edge(3),
                      unSpecified(4),                      
                      unKnown(255),                      
                     }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        ""
    ::= { kInventory 3 }

kName OBJECT-TYPE
    SYNTAX      DisplayString 
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "An administratively assigned name for this System."
    ::= { kInventory 4 }

k1stInstDate OBJECT-TYPE
    SYNTAX      DisplayString 
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The date when the box was first installed. This is a string in the format dd-mm-yyyy.
         Agent does not enforce this syntax - Manager should ..."
    ::= { kInventory 5 }

kLstInstDate OBJECT-TYPE
    SYNTAX      DisplayString 
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The date when the box was last upgraded. This is a string in the format dd-mm-yyyy.
         Agent does not enforce this syntax - Manager should ..."
    ::= { kInventory 6 }

kSWVersion OBJECT-TYPE
    SYNTAX      DisplayString 
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The general release version of box's software"
    ::= { kInventory 7 }
    
kHWVersion OBJECT-TYPE
    SYNTAX      DisplayString 
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The general release version of box's hardware"
    ::= { kInventory 8 }
    
kOperationMode OBJECT-TYPE
    SYNTAX      DisplayString 
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The box operation mode: Boot, Normal, Maintenance"
    ::= { kInventory 9 }

kVfRole OBJECT-TYPE
    SYNTAX      DisplayString 
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The box network role: alg/mr/single, master/backup/ha-none"
    ::= { kInventory 10 }

    
kagoorNotfications         OBJECT IDENTIFIER ::= { kagoor 100 }
kagoorTraps                OBJECT IDENTIFIER ::= { kagoorNotfications 0 }
kagoorTrapsConfig          OBJECT IDENTIFIER ::= { kagoorNotfications 1 }
kagoorDummyTrapDetails  OBJECT IDENTIFIER ::= { kagoorNotfications 2 }

--
-- Objects containing Traps Configuration Information
--

kEnableLoginTraps OBJECT-TYPE
    SYNTAX      INTEGER { enabled(1), disabled(2) }
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "A logical object, signifyinng whether (successful) Login Traps should be issued"
    ::= { kagoorTrapsConfig 1 }

kTrapDestinationTable OBJECT-TYPE
      SYNTAX  SEQUENCE OF KTrapDestinationEntry
      ACCESS  not-accessible
      STATUS  current
      DESCRIPTION
              "Table containing information regarding trap destination hosts"
      ::= { kagoorTrapsConfig 2 }

kTrapDestinationEntry OBJECT-TYPE
      SYNTAX  KTrapDestinationEntry
      ACCESS  not-accessible
      STATUS  current
      DESCRIPTION
              "For each trap destination host - IP, trap port, and community string"
      INDEX   { kTrapDestinationIndex }
      ::= { kTrapDestinationTable 1 }

KTrapDestinationEntry ::=
      SEQUENCE {
          kTrapDestinationIndex         INTEGER,
          kTrapDestinationHost          OCTET STRING (SIZE(0..80)),
          kTrapDestinationPort          INTEGER,          
          kTrapDestinationCommunity    OCTET STRING (SIZE(0..80)),          
          kTrapDestinationVersion      INTEGER,
                  kTrapRowStatus        RowStatus          
      }

kTrapDestinationIndex OBJECT-TYPE
      SYNTAX  INTEGER
      ACCESS  read-only
      STATUS  current
      DESCRIPTION
              "A system-assigned sequence number, acting as table index"
      ::= { kTrapDestinationEntry 1 }

kTrapDestinationHost OBJECT-TYPE
      SYNTAX  OCTET STRING (SIZE(0..80))
      ACCESS  read-only
      STATUS  current
      DESCRIPTION
              "The IP Address of the trap destination host (if DNS installed, then hostname is possible too)"
      ::= { kTrapDestinationEntry 2 }

kTrapDestinationPort OBJECT-TYPE
      SYNTAX  INTEGER       
      ACCESS  read-only
      STATUS  current
      DESCRIPTION
              "The port number where trap destination host has a trap handler (default 162)"
      ::= { kTrapDestinationEntry 3 }


kTrapDestinationCommunity OBJECT-TYPE
      SYNTAX  OCTET STRING (SIZE(0..80))
      ACCESS  read-only
      STATUS  current
      DESCRIPTION
              "Community String for this host's trap PDU's (default 'public')."
      ::= { kTrapDestinationEntry 4 }
      

kTrapDestinationVersion OBJECT-TYPE
      SYNTAX  INTEGER { vSNMPv1(1), vSNMPv2(2), vSNMPv1v2(3) }
      ACCESS  read-only
      STATUS  current
      DESCRIPTION
              "Specify whether v1-only traps, v2-only traps, or both-trap-types should be DESTed to this host."
      ::= { kTrapDestinationEntry 5 }
      

kTrapRowStatus OBJECT-TYPE
      SYNTAX  RowStatus
      ACCESS  read-only
      STATUS  current
      DESCRIPTION
              "Used to create new rows / Modify the parameters of existing trap Destinations"
      ::= { kTrapDestinationEntry 6 }

-- 
-- 
-- 

kDummyTrapSeverity OBJECT-TYPE
          SYNTAX  OBJECT IDENTIFIER
      ACCESS  not-accessible
      STATUS  current
      DESCRIPTION
              ""
      ::= { kagoorDummyTrapDetails 1 }

kLastLicenseViolationType OBJECT-TYPE
          SYNTAX  OBJECT IDENTIFIER
      ACCESS  not-accessible
      STATUS  current
      DESCRIPTION
              ""
      ::= { kagoorDummyTrapDetails 2 }

-- 
-- Actual Trap notifications description
--

kagoorLicenseViolation NOTIFICATION-TYPE
        OBJECTS { kVfRole }
        STATUS  current
        DESCRIPTION
            "The call license limit has been crossed. Issued every 15 minutes during the period of 
             processing calls above the limit."
    ::= { kagoorTraps 2 }
    
kagoorCLILogin NOTIFICATION-TYPE
        OBJECTS { kVfRole }
        STATUS  current
        DESCRIPTION
            "A CLI session has started."
    ::= { kagoorTraps 4 }
    
kagoorCLIFailedLogin NOTIFICATION-TYPE
        OBJECTS { kVfRole }
        STATUS  current
        DESCRIPTION
            "A CLI connection was aborted for too many attempts(default - 5)."
    ::= { kagoorTraps 5 }
    
kagoorCLIEnableModeFailed NOTIFICATION-TYPE
        OBJECTS { kVfRole }
        STATUS  current
        DESCRIPTION
            "A CLI authentication for priviledged (Enabled) mode failed."
    ::= { kagoorTraps 6 }
    
kagoorVoiceOSReady NOTIFICATION-TYPE
        OBJECTS { kVfRole }
        STATUS  current
        DESCRIPTION
            "Wakeup notification of the voice operating system."
    ::= { kagoorTraps 8 }
    
kagoorOperationModeChanged NOTIFICATION-TYPE
        OBJECTS { kVfRole, kOperationMode }
        STATUS  current
        DESCRIPTION
            "Indicating a change in operation Mode (normal - bridge - boot). 
             kOperation mode has new operation mode."
    ::= { kagoorTraps 9 }

kagoorLicenceExpired NOTIFICATION-TYPE
        OBJECTS { kVfRole }
        STATUS  current
        DESCRIPTION
            "Indicating License file has expired"
    ::= { kagoorTraps 10 }

kagoorLicenseExpiresSoon NOTIFICATION-TYPE
        OBJECTS { kVfRole }
        STATUS  current
        DESCRIPTION
            "Indicating license file will soon expire (up to 24hrs in advance."
    ::= { kagoorTraps 11 }

kagoorGeneralTrap NOTIFICATION-TYPE
        OBJECTS { kVfRole }
        STATUS  current
        DESCRIPTION
            "Indicating some event triggered in the system, yet not recognized by the agent."
    ::= { kagoorTraps 13 }
    
kagoorVoipLinkUp NOTIFICATION-TYPE
        OBJECTS { kVfRole }
        STATUS  current
        DESCRIPTION
            ""
    ::= { kagoorTraps 21 }
    
kagoorVoipLinkDown NOTIFICATION-TYPE
        OBJECTS { kVfRole }
        STATUS  current
        DESCRIPTION
            ""
    ::= { kagoorTraps 22 }
    
kagoorCPULoad NOTIFICATION-TYPE
        OBJECTS { kVfRole }
        STATUS  current
        DESCRIPTION
            ""
    ::= { kagoorTraps 23 }
    
kagoorExtremeCPULoad NOTIFICATION-TYPE
        OBJECTS { kVfRole }
        STATUS  current
        DESCRIPTION
            ""
    ::= { kagoorTraps 24 }
    
kagoorLowMemory NOTIFICATION-TYPE
        OBJECTS { kVfRole }
        STATUS  current
        DESCRIPTION
            ""
    ::= { kagoorTraps 25 }
    
kagoorExtremeLowMemory NOTIFICATION-TYPE
        OBJECTS { kVfRole }
        STATUS  current
        DESCRIPTION
            ""
    ::= { kagoorTraps 26 }
    
kagoorSwitchOver NOTIFICATION-TYPE
        OBJECTS { kVfRole }
        STATUS  current
        DESCRIPTION
            ""
    ::= { kagoorTraps 27 }
    





kagoorAlarmSeverities  OBJECT IDENTIFIER ::= {kagoorNotfications 3}

alarmInfo  OBJECT-IDENTITY
    STATUS     current
    DESCRIPTION
      ""
    ::= { kagoorAlarmSeverities 1}

alarmMinor  OBJECT-IDENTITY
    STATUS     current
    DESCRIPTION
     ""
  ::= { kagoorAlarmSeverities 2}

alarmMajor OBJECT-IDENTITY
    STATUS     current
    DESCRIPTION
     ""
    ::= { kagoorAlarmSeverities 3}

alarmCritical OBJECT-IDENTITY
   STATUS     current
   DESCRIPTION
     ""
   ::= { kagoorAlarmSeverities 4}






kagoorLicenseViolationTypes  OBJECT IDENTIFIER ::= {kagoorNotfications 4}

licenseCallsExceeded  OBJECT-IDENTITY
    STATUS     current
    DESCRIPTION
      ""
    ::= { kagoorLicenseViolationTypes 1}

licenseEndpointsExceeded  OBJECT-IDENTITY
    STATUS     current
    DESCRIPTION
     ""
  ::= { kagoorLicenseViolationTypes 2}

licenseVersionMismatch OBJECT-IDENTITY
    STATUS     current
    DESCRIPTION
     ""
    ::= { kagoorLicenseViolationTypes 3}

END